//
//  GameScene.cpp
//  ResidentEvil
//
//  Created by Nguyen Tri Chung on 1/7/15.
//
//

#include "GameScene.h"

Scene* Game::createScene() {
    auto scene = Scene::create();
    auto layer = Game::create();
    scene->addChild(layer);
    
    return scene;
}

bool Game::init() {
    if (!Layer::init()) {
        return false;
    }
    return true;
}

void Game::onExit() {
    Layer::onExit();
    unscheduleUpdate();
}